package com.saturn.titan.core.bean;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.saturn.titan.core.bean.base.DatabaseBean;

public class Permission extends DatabaseBean {

	private static final long serialVersionUID = 1L;
	private String name;
	private String perm;

	public Permission() {
	}

	public Permission(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPerm() {
		return perm;
	}

	public void setPerm(String perm) {
		this.perm = perm;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
